/**
 * 所有使用SAAS服务端 客户都视为B端客户，所以SDK是以B端开发为需求基础，对接Merch接口
 * @author seeker910
 * @description redjs javascript sdk :cms-api.js
 * @description 网站相关api 接口
 */ 

var cmsHost = {
    text:'Merch服务',
    name:'merch',
    url:'http://localhost:55848/',
    index:'dev/index',
    isLoaded:false,
    useSSL:false,
    controllers:[
        {name:'',path:'Merch',GetDescription:'GetDes'},  
        {name:'Doc',path:'merch/Doc',GetDescription:'GetDes'}, 
    ]
};

/**
* 加载api services
*/
Rsd.loadServices(cmsHost,[],function(data,state){
    if(state=='serviceLoaded')
    {
        rsd.app.fire('merch-api',data);
    } 
});
//缓存数据
Rsd.merch = Rsd.merch||{};
